package com.gaswell.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gaswell.utils.LocalDateStringConverter;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * <p>
 * 采气井日数据
 * </p>
 *
 * @author Lei Wang
 * @since 2022-05-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Qba01对象", description = "采气井日数据")
@Accessors(chain = true)
public class Qba01 implements Serializable{
    @ExcelProperty(value = "井号")
    private String jh;
    @ExcelProperty(value = "区名")
    private String qm;
    @ExcelProperty(value = "队名")
    private String dm;
    @ExcelProperty(value = "站名")
    private String zm;
    //    @ExcelProperty(value = "日期")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @JsonFormat(FindLastDataVo2 = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "日期", converter = LocalDateStringConverter.class)
    private java.sql.Date rq;
    @ExcelProperty(value = "生产时间")
    private String scsj;
    @ExcelProperty(value = "气嘴直径")
    private String qzzj;
    @ExcelProperty(value = "井口温度")
    private BigDecimal jkwd;
    @ExcelProperty(value = "最高油压")
    private BigDecimal zgyy;
    @ExcelProperty(value = "最低油压")
    private BigDecimal zdyy;
    @ExcelProperty(value = "平均油压")
    private BigDecimal pjyy;
    @ExcelProperty(value = "关井油压")
    private BigDecimal gjyy;
    @ExcelProperty(value = "最高套压")
    private BigDecimal zgty;
    @ExcelProperty(value = "最低套压")
    private BigDecimal zdty;
    @ExcelProperty(value = "平均套压")
    private BigDecimal pjty;
    @ExcelProperty(value = "关井套压")
    private BigDecimal gjty;
    @ExcelProperty(value = "外输压力")
    private BigDecimal wsyl;
    @ExcelProperty(value = "测气档板")
    private BigDecimal cqdb;
    @ExcelProperty(value = "测气温度")
    private BigDecimal cqwd;
    @ExcelProperty(value = "测气压力")
    private BigDecimal cqyl;
    @ExcelProperty(value = "测气压差")
    private BigDecimal cqyc;
    @ExcelProperty(value = "日产气量")
    private BigDecimal rcql;
    @ExcelProperty(value = "日产水量")
    private BigDecimal rcsl;
    @ExcelProperty(value = "日产油量")
    private BigDecimal rcol;
    @ExcelProperty(value = "加固体药")
    private BigDecimal jgty;
    @ExcelProperty(value = "加液体药")
    private BigDecimal jyty;
    @ExcelProperty(value = "日注醇")
    private BigDecimal rzc;
    @ExcelProperty(value = "关井原因")
    private String gjdm;
    @ExcelProperty(value = "措施类别")
    private String csdm;
    @ExcelProperty(value = "测试类别")
    private String csdm1;
    @ExcelProperty(value = "备注")
    private String bz;
    @ExcelProperty(value = "区块名称")
    private String qcdk;
    @ExcelProperty(value = "自用气量")
    private BigDecimal zyql;
    @ExcelProperty(value = "技套压力")
    private String jtyl;
    @ExcelProperty(value = "表套压力")
    private String btyl;
    @ExcelProperty(value = "作业区")
    private String zyq;
    @ExcelProperty(value = "地质队")
    private String dzd;
    @ExcelProperty(value = "A2区块")
    private String qcdka2;
    @ExcelProperty(value = "a2jh")
    private String a2jh;
    @ExcelProperty(value = "qcdja2")
    private String qcdja2;
    @ExcelProperty(value = "scsjj")
    private BigDecimal scsjj;


    // 冻堵
    @Transient
    @TableField(exist = false)
    private String dd;
    // 积液
    @Transient
    @TableField(exist = false)
    private String jy;
    @Transient
    @TableField(exist = false)
    private String dataStatus;

}
